<!DOCTYPE html>
{% load static %}
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="{% static 'css/common.css' %}">
</head>
<body>
<form action="/lesson/user/" method="post">
    {% for o in contacts.object_list %}
    {% endfor %}
    {% if contacts.has_previous %}
        <a type="button" name="Prev Page" href="/lesson/page?page={{ contacts.previous_page_num }}">
    {% endif %}

    {% if contacts.has_next %}
        <a type="button" name="Next Page" href="/lesson/page?page={{ contacts.next_page_number }}">
    {% endif %}
</form>
</body>
</html>